package com.ych.springmvc.pojo;

public class B extends A {
    private final String method;

    public B(String name, String method, String method1) {
        super(name, method);
        this.method = method1;
    }

    @Override
    public String getMethod() {
        return this.method;
    }
}
